package common;

public class ProcessorWithTimeStamp extends BaseProcessor{
	
	private long timebefore;
	private long timeafter;
	
	@Override
	protected void beforeInvoke(String className, String methodName) {
		timebefore = System.currentTimeMillis();
	}
	@Override
	protected void afterInvoke(String className, String methodName) {
		timeafter = System.currentTimeMillis();
		System.out.println(className+mask+methodName+" costs "+ (timeafter-timebefore) +" ms");
	}

	

}
